<?php
/**
 * 文件名：login.mod.php
 * 版本号：(1.0)
 * 最后修改时间：2006年8月22日 18:58:20
 * 作者：狐狸<foxis@qq.com>
 * 功能描述：用户登录
 */

define('CUR_CLASS_OBJ', 'member');

//http://www.my347.com/pt_api/index.php?method=login.login&account=&pwd=&user_token=9a6f17da270a0e6a5affb606ebed0579&user_sign=&ver=1.0&op_net=-1&device=-1

class ModuleObject extends MasterObject
{
	var $curClass = '';
	var $curProcessing = '';
	
	var $playerAccount='';
	var $playerPassword ='';
	var $userToken ='';
	var $userSign ='';
	var $version ='';
	var $op_net ='';
	var $device ='';
	var $TimeTamp ='';
	
	var $GameData = array();
	var $GameEvent = array();
	
	function ModuleObject(&$data)
	{
		$this->playerAccount =get_param('playerAccount');
		$this->playerPassword =get_param('playerPassword');
		$this->userToken =get_param('userToken');
		$this->userSign =get_param('userSign');
		$this->version =get_param('version');
		$this->op_net =get_param('op_net');
		$this->device =get_param('device');
		
		$curClass = $this->var['class'];
		$curProcessing = $this->var['processing'];
		$this->Execute();
	}
	
	function Execute()
	{
		ob_start();
		switch($this->curProcessing)
		{
			case 'register':
				$this->Register();
				break;
			case 'accountLogin':
				$this->AccountLogin();
				break;
			case 'freeLogin':
				$this->FreeLogin();
				break;
			default:
				$this->login();
				break;
		}
	}
    
	function Register()
	{
		
	}
	
	function AccountLogin()
	{
		
	}
	
	function  FreeLogin()
	{
		
	}
	
	function GameData()
	{
		return $GameData;
	}
	
	function GameEvent()
	{
		return $GameEvent;
	}
	
}
?>